package com.note.app.dto.ai;

import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * AI聊天请求DTO
 */
@Data
@Schema(description = "AI聊天请求")
public class AIChatRequestDTO {

    @Schema(description = "AI模式", example = "CHAT")
    private String mode;

    @Schema(description = "聊天消息列表")
    private List<ChatMessage> messages;

    @Schema(description = "语言", example = "zh", defaultValue = "zh")
    private String language;

    @Schema(description = "额外参数")
    private String extraParams;

    /**
     * 聊天消息
     */
    @Data
    @Schema(description = "聊天消息")
    public static class ChatMessage {
        
        @Schema(description = "消息角色", example = "user", allowableValues = {"user", "assistant", "system"})
        private String role;
        
        @Schema(description = "消息内容")
        private String content;
    }
} 